<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>thoigian</title>
</head>

<body>
 <script language="javascript" type ="text/javascript">
				var day_of_week =new Array();
				day_of_week[0] = "Chủ nhật";
				day_of_week[1] = "Thứ hai";
				day_of_week[2] = "Thứ ba";
				day_of_week[3] = "Thứ tư";
				day_of_week[4] = "Thứ năm";
				day_of_week[5] = "Thứ sáu";
				day_of_week[6] = "Thứ bảy";
				
				var month_of_year =new Array();
				month_of_year[0] = "01";
				month_of_year[1] = "02";
				month_of_year[2] = "03";
				month_of_year[3] = "04";
				month_of_year[4] = "05";
				month_of_year[5] = "06";
				month_of_year[6] = "07";
				month_of_year[7] = "08";
				month_of_year[8] = "09";
				month_of_year[9] = "10";
				month_of_year[10]= "11";
				month_of_year[11]= "12";
				
				var nowdate = new Date();   
				var curyear= nowdate.getYear();     
				var curmonth = nowdate.getMonth();  
				var curdate = nowdate.getDate();   
				var curday = nowdate.getDay();
				
				if (curyear < 1000) {curyear= 1900  +curyear;}
				if (curdate<10) {curdate="0"+curdate;}  
				
				document.write("<font  color='#aaa7a7' face='Arial'>"  + "</font>"+  "<font color='#FF0000'>"+day_of_week[curday]+ ", " +" ngày "+ curdate + "/" +month_of_year[curmonth]+ "/"+curyear+"</font>");  
				</script>
</body>
</html>
